package com.zany.children.dao;

import com.zany.children.vo.PaymentProject;

import java.util.List;
import java.util.Map;

public interface PaymentProjectDao {

    /**
     * 查询缴费项目列表.
     *
     * @param paymentProject
     * @return
     */
    List<PaymentProject> getPaymentProjectListPage(PaymentProject paymentProject);


    /**
     * 查询缴费项目列表. count
     *
     * @param paymentProject
     * @return
     */
    Integer getPaymentProjectListPageCount(PaymentProject paymentProject);


    /**
     * 保存缴费信息.
     *
     * @param paymentProject
     * @return
     */
    Long savePaymentProject(PaymentProject paymentProject);


    /**
     * 修改缴费信息.
     *
     * @param paymentProject
     */
    void updatePaymentProject(PaymentProject paymentProject);


    /**
     * 通过缴费id删除缴费信息 逻辑删除.
     *
     * @param id
     */
    void deletePaymentProjectById(Long id);


    /**
     * 通过缴费id获取缴费信息.
     * @param id
     * @return
     */
    PaymentProject getPaymentProjectById(Long id);



    /**
     * 通过条件查询缴费项目.
     * @param map
     * @return
     */
    List<PaymentProject> getPaymentProject(Map<String,Object> map);

}
